package souralven.jcomicreader.model;

import souralven.jcomicreader.controller.reader.FileReader;
import souralven.jcomicreader.controller.reader.impl.RarFileReader;
import souralven.jcomicreader.controller.reader.impl.ZipFileReader;

public enum FileFormat {

	PDF(null), ZIP(new ZipFileReader()), RAR(new RarFileReader());

	private FileReader fileReader;

	private FileFormat(FileReader fileReader) {
		this.fileReader = fileReader;
	}

	public FileReader getFileReader() {
		return fileReader;
	}
}
